package FinalExam;

/**
 * @Author 28021
 * @Date 2022/12/27
 */
public class E5 {
    public static void main(String[] args) {
        Dog dog=new Dog();
        System.out.printf("%d:%d",dog.setM(),dog.m);
    }
}
class Animal{
    int m = 100;
    public int setM(){
        return  m;
    }
}
class  Dog extends Animal{
    int m=6;
    public int setM(){
        return  m;
    }
}

